<?php

require_once('boot.php');

$gateway->auth();

$args = $_SERVER['argv'];
array_shift($args);
$api_id = array_shift($args);

$status = $gateway->queryMsg($api_id);

echo $gateway->getStatusMessage($status) . "\n";
